package com.wen.mapper;

import com.wen.pojo.Purchase;

import java.util.List;

public interface PurchaseMapper {
    //插入采购单
    int addCh(Purchase purchase);

    //分页查询采购单
    List<Purchase> allPurchaseList(Purchase purchase);

    //删除采购单
    int delBuyList(Integer buyId);

    //修改采购单
    int updBuyList(Purchase purchase);

    //修改isIn
    int upBuyIsIn(Purchase purchase);
}